/****************************************************
          File Name:capture_encode_define.h
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Tue 18 Nov 2014 12:27:48 PM CST
*****************************************************/

#ifndef capture_encode_define_h_
#define capture_encode_define_h_

#define CLEAN(X)				memset(&X, 0, sizeof(X))

int cam_fd = -1;
char *device = "/dev/video0"; 	/* default */
unsigned int n_buffers;
int width = 640;
int height = 480;

struct {
	void *start;
	size_t length;
} *buffers = NULL;

#endif